<template>
  <div class="nav-container">
    <router-link to="/goods">商品</router-link>
    <router-link to="/ratings">评价</router-link>
    <router-link to="/seller">商家</router-link>
  </div>
</template>

<script>
export default {
  name: 'NavBlock'
}

</script>

<style lang="scss" scoped>
  .nav-container {
    height: 0.8rem;
    width: 100%;
    position: fixed;
    top: 2.68rem;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(7, 17, 27, .2);
    z-index: 10;

    a {
      display: block;
      height: 100%;
      line-height: 0.8rem;
      width: 33.333%;
      font-size: 0.35rem;
      text-align: center;
    }
  }

</style>
